package com.adong.test.cascade2;

/**
 * @author adong
 */
public class Orders {
    private Integer id;
    private String oName;
    private Customer customer;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getoName() {
        return oName;
    }

    public void setoName(String oName) {
        this.oName = oName;
    }


    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", oName='" + oName + '\'' +
                ", customer=" + customer +
                '}';
    }
}
